<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>DGPT4537 Assignment1</title>
    <!-- 引入Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #f8f9fa;
            color: #343a40;
        }
        .hero-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .hero-image {
            display: block;
            margin: 20px 0;
            width: 100%;
            height: auto;
        }
        .home-link {
            display: inline-block;
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <!-- 使用Bootstrap的容器 -->
    <div class="container">
        <div class="hero-container">
            <h1 class="text-center">Mythical Figures</h1>
            <div class="mb-3">
                <strong>ID:</strong> <span id="id">{id}</span>
            </div>
            <div class="mb-3">
                <strong>Name:</strong> <span id="name">{name}</span>
            </div>
            <div class="mb-3">
                <strong>Place:</strong> <span id="city">{city}</span>
            </div>
            <div class="mb-3">
                <strong>Powers:</strong> <span id="powers">{powers}</span>
            </div>
            <div class="mb-3">
                <strong>Weapon:</strong> <span id="weapon">{weapon}</span>
            </div>
            <img src="/image/{image}" alt="Hero Image" class="hero-image img-fluid">
            <p class="text-center home-link">
                <a href="/home" class="btn btn-primary">Home</a>
            </p>
        </div>
    </div>

    <!-- 引入Bootstrap JS和依赖 -->
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.min.js"></script>
</body>
</html>